import ajax from '../api/ajax'
// 账户收支明细
export const accounts = (data)=>ajax("/api/base/accounts",data,"GET")
// 充值
export const recharge = (data)=>ajax("/api/base/recharge",data,"POST")
// 我的宠物列表
export const petOrders = (data)=>ajax("/api/base/product_my",data,"GET")
// 卖出宠物
export const sellout = (data)=>ajax("/api/base/product_sell",data,"POST")
// 邀请文案
export const inviteContent = (data)=>ajax("/api/base/invite_text",data,"GET")
// 发送短信
export const verificationCodes = (data)=>ajax("/api/base/verify",data,"POST")
// 修改密码
export const password = (data)=>ajax("/api/base/password",data,"POST")
//查询银行卡
export const cards = (data)=>ajax("/api/base/cards",data,"GET")
//查询银行卡类型
export const banks = (data)=>ajax("/api/base/banks",data,"GET")
//提现
export const withdrawal = (data)=>ajax("/api/base/withdrawal",data,"POST")
//绑定银行
export const bindcards = (data)=>ajax("/api/base/cards",data,"POST")
//客服列表
export const customers = (data)=>ajax("/api/base/customers",data,"GET")
// 投诉举报
export const complaints = (data)=>ajax("/api/base/complaints",data,"POST")
// 投诉列表
export const getComplaints = (data)=>ajax("/api/base/complaints",data,"GET")
// 投诉详情
export const queryComplaints = (data)=>ajax("/api/base/complaints",data,"QUERY")
// 投诉回复列表
export const replies = (data)=>ajax("/api/base/replies",data,"GET")
// 投诉回复
export const postReplies = (data)=>ajax("/api/base/replies",data,"POST")
//修改头像
export const photoc = (data)=>ajax("/api/base/user",data,"PATCHS")
//充值提现记录
export const orders = (data)=>ajax("/api/base/orders",data,"GET")
//上传支付凭证
export const uploadDoc = (data)=>ajax("/api/base/proof",data,"POST")
//查看支付凭证
export const docShow = (data)=>ajax("/api/base/proof",data,"GET")
//朋友圈列表
export const friends = (data)=>ajax("/api/base/friends",data,"GET")
//朋友圈发帖
export const sendfriends = (data)=>ajax("/api/base/friends",data,"POST")
//点赞
export const dianfriends = (data)=>ajax("/api/base/friends",data,"PATCH")
//删除朋友圈
export const delfriends = (data)=>ajax("/api/base/friends",data,"DELETE")
//客服问题
export const problems = (data)=>ajax("/api/base/problems",data,"GET")
//客服回复
export const problemsrepy = (data)=>ajax("/api/base/reply",data,"POST")
//接口渠道
export const channels = (data)=>ajax("/api/base/payment",data,"GET")
//获取配置
export const configurations = (data)=>ajax("/api/v2/configurations/withdrawal_fee",data,"GET")
//取消提现
export const withdrawalCancel = (data)=>ajax("/api/base/withdrawal/cancel",data,"POST")
//个人收益统计
export const statisticslixi = (data)=>ajax("/api/base/interest/statistics",data,"GET")
//个人收益统计
export const revenueslixibao = (data)=>ajax("/api/base/interest/revenues",data,"GET")
//转入转出记录
export const logs = (data)=>ajax("/api/base/interest/logs",data,"GET")
//转入利息宝
export const rechargelixibao = (data)=>ajax("/api/base/interest/recharge",data,"POST")
//转出利息宝
export const withdrawallixibao = (data)=>ajax("/api/base/interest/withdrawal",data,"POST")
//取消宠物预约订单
export const cancelPet = (data)=>ajax("/api/base/product_cancel",data,"POST")












